package com.demo.ssm.service.impl;

import com.demo.ssm.dao.AdminMapper;
import com.demo.ssm.pojo.Admin;
import com.demo.ssm.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wangms
 * @since 2022/4/23 13:48
 */
@Service("adminService")
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin getOneAdmin() {
        System.out.println("test......");
        return adminMapper.getOneAdmin();
    }
}
